/**
 * @file
 * @author dousha
 * @date 2020/11/30.
 */

#ifndef CRYPTSTICK_ENTROPY_H
#define CRYPTSTICK_ENTROPY_H

#include <stm32f1xx_hal.h>

#define MESS_SIZE 32
#define LFSR_SEED 0xdeadbaadu

extern void entropy_init(ADC_HandleTypeDef *);

extern void entropy_feed(uint8_t);

extern uint8_t entropy_read();

#endif //CRYPTSTICK_ENTROPY_H
